import { createSlice } from '@reduxjs/toolkit';
export const noticeSlice = createSlice({
  name: 'notice',
  initialState: {
    uid: 43,
    username: 'admin',
  },
  reducers: {
    setUid(state, payload) {
      state.uid = payload.value;
    },
    setUsername(state, payload) {
      state.username = payload.value;
    },
  },
});
